#include "state_machine.hpp"

namespace fsm
{
	namespace sc = boost::statechart;

	sc::result StAttack::react(const EvTick&)
	{
		printf("Kill over! post EvTargetDie event!\n");

		post_event(EvAttackEnd());

		return discard_event();
	}

	sc::result StAttack::react(const EvAttack& ev_kill)
	{
		monster_id_ = ev_kill.monster_id_;
		return discard_event();
	}

}//names